package com.youngjun.user.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.youngjun.common.pojo.vo.support.BaseVO;

import java.sql.Timestamp;

public class OrganizationVO extends BaseVO<OrganizationVO> {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    //公司名称
    private String name;

    private Timestamp gmtCreated;

    private Timestamp gmtModified;

    //法定代表人
    private String legalRepresentative;

    //社会统一信用代码
    private String unifiedSocialCreditCode;

    //电话号码
    private String telephoneNumber;

    //邮箱
    private String email;

    //官方网址
    private String officialWebsite;

    //简介
    private String briefIntroduction;

    //公司地址
    private AddressVO address;

    //公司logo
    @JsonSerialize(using = ToStringSerializer.class)
    private Long logoId;

    public Long getId() {
        return id;
    }

    public OrganizationVO setId(Long id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public OrganizationVO setName(String name) {
        this.name = name;
        return this;
    }

    public Timestamp getGmtCreated() {
        return gmtCreated;
    }

    public OrganizationVO setGmtCreated(Timestamp gmtCreated) {
        this.gmtCreated = gmtCreated;
        return this;
    }

    public Timestamp getGmtModified() {
        return gmtModified;
    }

    public OrganizationVO setGmtModified(Timestamp gmtModified) {
        this.gmtModified = gmtModified;
        return this;
    }

    public String getLegalRepresentative() {
        return legalRepresentative;
    }

    public OrganizationVO setLegalRepresentative(String legalRepresentative) {
        this.legalRepresentative = legalRepresentative;
        return this;
    }

    public String getUnifiedSocialCreditCode() {
        return unifiedSocialCreditCode;
    }

    public OrganizationVO setUnifiedSocialCreditCode(String unifiedSocialCreditCode) {
        this.unifiedSocialCreditCode = unifiedSocialCreditCode;
        return this;
    }

    public String getTelephoneNumber() {
        return telephoneNumber;
    }

    public OrganizationVO setTelephoneNumber(String telephoneNumber) {
        this.telephoneNumber = telephoneNumber;
        return this;
    }

    public String getEmail() {
        return email;
    }

    public OrganizationVO setEmail(String email) {
        this.email = email;
        return this;
    }

    public String getOfficialWebsite() {
        return officialWebsite;
    }

    public OrganizationVO setOfficialWebsite(String officialWebsite) {
        this.officialWebsite = officialWebsite;
        return this;
    }

    public String getBriefIntroduction() {
        return briefIntroduction;
    }

    public OrganizationVO setBriefIntroduction(String briefIntroduction) {
        this.briefIntroduction = briefIntroduction;
        return this;
    }

    public AddressVO getAddress() {
        return address;
    }

    public OrganizationVO setAddress(AddressVO address) {
        this.address = address;
        return this;
    }

    public Long getLogoId() {
        return logoId;
    }

    public OrganizationVO setLogoId(Long logoId) {
        this.logoId = logoId;
        return this;
    }

}